package com.jy.adscm.operation.cg.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 生成计划使用
 * @author zyl
 * @Date 2019/7/8 -9:13
 */

public class CreateCgPlan {
    /**
     *  图纸类型
     */
    private Integer type;
    /**
     * 生成数量
     */
    private Integer num;
    /**
     * 需求日期
     */
    private Date needDate;
    /**
     * 令号
     */
    private  String makeNo;

    private  Integer  cgType;

    public Integer getCgType() {
        return cgType;
    }

    public void setCgType(Integer cgType) {
        this.cgType = cgType;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
         @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getNeedDate() {
        return needDate;
    }
         @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setNeedDate(Date needDate) {
        this.needDate = needDate;
    }

    public String getMakeNo() {
        return makeNo;
    }

    public void setMakeNo(String makeNo) {
        this.makeNo = makeNo;
    }
}
